@layout("/common/_container.html",{js:["/assets/modular/system/resource/main.js"],css:["/assets/modular/system/resource/main.css"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">菜单资源字段管理</span>
</div>



<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
	<div class="layui-card">
		<div class="layui-card-header">菜单页面[${menuName}]受控字段管理</div>
		<div class="layui-card-body layui-text">
			<div id="toolbar">
				<div>
          <input id="menuId"  type="hidden" value="${menuId}"/>
					<button type="button" class="layui-btn layui-btn-sm" data-type="addRow" title="添加字段">
						<i class="layui-icon layui-icon-add-1"></i> 添加字段
					</button>
				</div>
			</div>
			<div id="tableRes" class="table-overlay">
				<table id="dataTable" lay-filter="dataTable" class="layui-hide"></table>
			</div>
			<div id="action" class="text-center">
				<button type="button" name="btnSave" class="layui-btn" data-type="save"><i class="layui-icon layui-icon-ok-circle"></i>保存所有</button>
				<button type="button" id="btnCancel"  class="layui-btn layui-btn-primary">取消</button>
			</div>
		</div>
	</div>

  <!-- <div class="layui-card">
  <div class="layui-card-header">结果输出</div>
  <div class="layui-card-body layui-text">
    <blockquote class="layui-elem-quote layui-quote-nm">
      <pre id="jsonResult"><span class="layui-word-aux">点击“保存”查看输出信息……</span></pre>
    </blockquote>
  </div>
</div> -->

</div>
</div>
</div>




<!-- <div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">

                  <div id="toolbar">
      <div>
        <button type="button" class="layui-btn layui-btn-sm" data-type="addRow" title="添加一行">
          <i class="layui-icon layui-icon-add-1"></i> 添加一行
        </button>
      </div>
    </div>
    <div id="tableRes" class="table-overlay">
      <table id="dataTable" lay-filter="dataTable" class="layui-hide"></table>
    </div>
    <div id="action" class="text-center">
      <button type="button" name="btnSave" class="layui-btn" data-type="save"><i class="layui-icon layui-icon-ok-circle"></i>保存</button>
      <button type="reset" name="btnReset" class="layui-btn layui-btn-primary">取消</button>
    </div>




                    <table class="layui-table" id="dataTable" lay-filter="dataTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>


</script> -->
@}
